/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.repair.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDate;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 保养计划配置实体类
 *
 * @author ysq
 * @since 2022-03-29
 */
@Data
@TableName("blade_maintain_plan_config")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MaintainPlanConfig对象", description = "保养计划配置")
public class MaintainPlanConfig extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 小区id
	*/
		@ApiModelProperty(value = "小区id")
		private Long buildingId;
	/**
	* 电梯id
	*/
		@ApiModelProperty(value = "电梯id")
		private Long elevatorId;
	/**
	* 任务计划id
	*/
		@ApiModelProperty(value = "任务计划id")
		private Long taskPlanId;
	/**
	* 服务开始时间
	*/
		@ApiModelProperty(value = "服务开始时间")
		private LocalDate startTime;
	/**
	* 服务结束时间
	*/
		@ApiModelProperty(value = "服务结束时间")
		private LocalDate endTime;
	/**
	* 保养状态 : 0: 脱保，1: 在保
	*/
		@ApiModelProperty(value = "保养状态 : 0: 脱保，1: 在保")
		private Integer maintainStatus;
	/**
	* 首次保养时间
	*/
		@ApiModelProperty(value = "首次保养时间")
		private LocalDate firstTime;
	/**
	* 部门id集合
	*/
		@ApiModelProperty(value = "部门id集合")
		private String deptIds;
	/**
	* 部门名称集合
	*/
		@ApiModelProperty(value = "部门名称集合")
		private String deptNames;
	/**
	* 用户id集合
	*/
		@ApiModelProperty(value = "用户id集合")
		private String userIds;
	/**
	* 用户名称集合
	*/
		@ApiModelProperty(value = "用户名称集合")
		private String userNames;

	    @ApiModelProperty(value = "合同id")
	   private Long contractId;
}
